package com.gxa.modules.app.outpatient.outpatientfee.service.impl;


import com.gxa.modules.app.outpatient.outpatientfee.dto.OutPatientfee;
import com.gxa.modules.app.outpatient.outpatientfee.mapper.OutpatientfeeMapper;
import com.gxa.modules.app.outpatient.outpatientfee.service.OutpatientfeeService;
import com.gxa.modules.model.entity.fee.Patient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName PatientServiceImpl
 * @Description
 * @Author Mr.YUAN
 * @Date 2022/11/12 11:27
 */
@Service
public class OutpatientfeeServiceImpl implements OutpatientfeeService {

    @Autowired
    private OutpatientfeeMapper outpatientfeeMapper;

    @Override
    public List<OutPatientfee> queryById(Integer id,String startTime,String endTime) {
        List<OutPatientfee> outPatientfees = outpatientfeeMapper.queryById(id,startTime,endTime);
        return outPatientfees;
    }
}